#ifndef GAME_FACTORY_H
#define GAME_FACTORY_H

#include "Ball.h"
#include "PoolTable.h"
#include "../Math/Size.h"

namespace Game
{
	class Factory
	{
		public:
				static Factory* instance();

				/**********
				* GETTERS *
				**********/
				float ballRadius();
				Size& tableSize();
				float meter();

				/*********
				* CREATE *
				*********/
				Ball* createBall(int num);
				PoolTable* createPoolTable();

		protected:
				static Factory* _instance;
				static float _ballRadius;
				static float _meter;
				static Math::Size _tableSize;

				Factory();
	};
}
#endif
